const config = {
    pages: {
        // 所有页面的路径
        home: '/pages/home',
        search:'/pages/search/search.html',
        order:'/pages/order/order.html',
        my:'/pages/my/my.html'
    },
    tabBar: [{
        text: '外卖',
        pagePath: 'home',
        iconPath: '/img/导航栏/1.png',
        selectedIconPath: '/img/导航栏/1-2.png'
    },{
        text: '搜索',
        pagePath: 'search',
        iconPath: '/img/导航栏/2.png',
        selectedIconPath: '/img/导航栏/2-1.png'
    },{
        text: '订单',
        pagePath: 'order',
        iconPath: '/img/导航栏/3.png',
        selectedIconPath: '/img/导航栏/3-1.png'
    },{
        text: '我的',
        pagePath: 'my',
        iconPath: '/img/导航栏/4.png',
        selectedIconPath: '/img/导航栏/4-1.png'
    }]
}
window.config = config;